Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add generic Ephemeris implementation #115

Merged
merged 11 commits into from
Aug 1, 2024
Merged

Add generic Ephemeris implementation #115

merged 11 commits into from
Aug 1, 2024

Conversation

akoumjian
Copy link
Contributor

This PR uses functions generated by @moeyensj and @KatKiker to allow any adam-core propagator the ability to generate lighttime corrected Ephemeris.

Copy link
Member

@moeyensj moeyensj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Exciting!

src/adam_core/orbits/query/horizons.py Outdated Show resolved Hide resolved
src/adam_core/propagator/propagator.py Outdated Show resolved Hide resolved
orbits,
observers,
lt_tol: float = 1e-12,
max_iter: int = 10,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I had set this to 10 just because its a nice number but feel free to change this. Our examples from yesterday seemed to complete in about 4 iterations.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't really have a sense of the long tail curve for convergence (if there even is one). In my mind, it's perfectly okay if the max_iter is literally never reached, it's only there to keep something that won't converge from running on forever.

src/adam_core/propagator/propagator.py Outdated Show resolved Hide resolved
@akoumjian akoumjian merged commit 13165ed into main Aug 1, 2024
2 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants